package com.b.controller;
import com.b.domain.CommentReply;
import com.b.service.impl.CommentReplyServiceImpl;
import org.springframework.web.bind.annotation.*;

import jakarta.annotation.Resource;
/**
* 回复评论表(comment_reply)表控制层
*
* @author xxxxx
*/
@RestController
@RequestMapping("/comment_reply")
public class CommentReplyController {
/**
* 服务对象
*/
@Resource
private CommentReplyServiceImpl commentReplyServiceImpl;

/**
* 通过主键查询单条数据
*
* @param id 主键
* @return 单条数据
*/
@GetMapping("selectOne")
public CommentReply selectOne(Integer id) {
return commentReplyServiceImpl.selectByPrimaryKey(id);
}

}
